package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.entity.TeacherRemuneration;
import com.yuyou.fn.educational.vo.ClassRemunerationRankVo;
import com.yuyou.fn.educational.vo.ClassTimeRankVo;
import com.yuyou.fn.educational.vo.StudentAmountRankVo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 * TeacherRemuneration 表数据服务层接口
 *
 */
public interface ITeacherRemunerationService extends ISuperService<TeacherRemuneration,Long> {

    void addTeacherRemuneration(Long areaTeamId, Long busTeamId, Long periodId, Long classId, Long classLectureId, Long teacherId, int classTime, BigDecimal amount , int studentAmount );

    List<TeacherRemuneration> findMyClassRemuneration(Long periodId, Long teacherId);

    List<ClassTimeRankVo> classTimeRank(Long areaTeamId, Long periodId  );

    ClassTimeRankVo myClassTimeRank(Long areaTeamId, Long periodId,Long teacherId );

    List<StudentAmountRankVo> studentAmountRank(Long areaTeamId, Long periodId  );

    StudentAmountRankVo myStudentAmountRank(Long areaTeamId, Long periodId,Long teacherId );

    List<ClassRemunerationRankVo> classRemunerationRank(Long areaTeamId, Long periodId  );

    ClassRemunerationRankVo myClassRemunerationRank(Long areaTeamId, Long periodId,Long teacherId );

    List<TeacherRemuneration> findMyClassRemuneration(Long teacherId, Date start, Date end);
}